<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="com.zmx.holiday.user.model.*"%>
<%String menu="2"; %>
<%@ include file="/head.jsp" %>
<div id="main">
		<div id="main_banner"></div>
		<div id="left">
			<div id="reg_left">
				<%if(userID!=null) {%>
				<div class="list-top">&nbsp;</div>
				<ul class="service-list">
					<li><a href="/registry/home_registry.jsp">注册店铺</a></li>
					<li><a href="/reg/homeSelect.action?userID=<%=userID %>">注册客房</a></li>
					<li><a href="/inte/homeManagerList.action?userID=<%=userID %>">店铺维护</a></li>
					<li><a href="/inte/roomManagerList.action?userID=<%=userID %>">客房维护</a></li>
				</ul>
				<%} else{%>
				<div class="list-top">&nbsp;</div>
				<ul class="service-list">
					<li><a href="#">预定客房</a></li>
					<li><a href="#">加入收藏</a></li>
				</ul>
				<%} %>
				
			</div>
			<div id="reg_right">
				<div class="title"><h3>客房预定</h3></div>
				<div class="info-words bottom">
					<div class="home_manage">
						<img src="/picture/roomPic/<s:property value='roomInfo.roomPic'/>" class="home_pic"/>
						<div class="home_info">
							<h3><a href="/inte/roomDetail.action?roomID=<s:property value='roomInfo.roomID'/>" class="hei12cc"><s:property value="roomInfo.roomName"/></a></h3>
							<p><s:property value="roomInfo.roomDes"/></p>
							<dl>
								<dt>所属省市：</dt><dd><s:property value="roomInfo.roomPro"/> <s:property value="roomInfo.roomCity"/></dd>
								<dt>周边景区：</dt><dd><s:property value="roomInfo.roomHolidy"/></dd>
								<dt>客房类型：</dt><dd><s:property value="roomInfo.roomType"/></dd>
								<dt>客房价格：</dt><dd><s:property value="roomInfo.roomPrice"/></dd>
								<dt>所属店铺：</dt><dd><s:property value="roomInfo.homeName"/></dd>
								<dt>注册时间：</dt><dd><s:property value="roomInfo.roomRegTime"/></dd>
							</dl>
						</div>
					</div>
					<div style="border-top:dashed 1px #ccc;height:10px;width:100%;float:left;"></div>
					<div class="reserInfo">
						<h3>客房预定说明</h3>
						<p>1.如果您已经是本网站的会员，请登陆后再预定。</p>
						<p>2.请在预定时与客房联系人进行联系，确定当前客房的最新动态。 >><a href="/inte/roomDetail.action?roomID=<s:property value='roomInfo.roomID'/>#lianxiren" target="_blank" style="color:#336699;">点击联系</a></p>
						<p>3.请在下面的预定信息中填写您的真实信息。</p>
					</div>
					<div style="border-top:dashed 1px #ccc;height:10px;width:100%;float:left;"></div>
					<s:form action="roomReser" namespace="/inte" validate="true" theme="simple" method="post"  enctype="multipart/form-data">
						<table border="0" cellspacing="1" cellpadding="0" style="float:left;">
							<tr><th>真实姓名：</th><td><s:textfield name="userInfo.userAnswer" size="38"/></td></tr>
							<tr><th>电话：</th><td><s:textfield name="userInfo.userPhone" size="38"/></td></tr>
							<tr><th>Email：</th><td><s:textfield name="userInfo.userEmail" size="38"/></td></tr>
							<tr><th>QQ号码：</th><td><s:textfield name="userInfo.userQQ" size="38"/></td></tr>
							<tr><th>MSN号码：</th><td><s:textfield name="userInfo.userMsn" size="38"/></td></tr>
							<tr><th>住宿时间：</th>
								<td>
									<s:textfield name="userInfo.userStatus" size="16" onfocus="calendar()" cssStyle="border:1px solid; width:120px; height:22px; background-position:right; background-repeat:no-repeat; background-image:url(/images/calendar_001.gif); "/>到
									<s:textfield name="userInfo.userRight" size="16" onfocus="calendar()" cssStyle="border:1px solid; width:120px; height:22px; background-position:right; background-repeat:no-repeat; background-image:url(/images/calendar_001.gif); "/>
								</td>
							</tr>
							<tr><th>补充说明：</th><td><s:textarea name="userInfo.userAsk"/></td></tr>
						</table>
						<input type="hidden" name="userID" value="<%=userID%>"/>
						<input type="hidden" name="roomID" value="<s:property value='roomInfo.roomID'/>"/>
						<input type="hidden" name="roomName" value="<s:property value='roomInfo.roomName'/>"/>
						<input type="hidden" name="userName" value="<s:property value='userInfo.userName'/>"/>
						
	                  <div id="login_btn">
						<a href="javascript:roomReser.submit()">注册服务信息</a>
						<a href="javascript:roomReser.reset()">重新填写</a>
					</div>
					</s:form>
				</div>
			</div>
		</div>	
		<%@ include file="/integration/list_right.jsp" %>
</div>
<%@ include file="/foot.jsp" %>